package com.chaopei.cxjw.service.impl;

import com.chaopei.cxjw.entity.Teacher;
import com.chaopei.cxjw.mapper.TeacherMapper;
import com.chaopei.cxjw.service.TeacherService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class TeacherServiceImpl implements TeacherService {
    @Resource
    TeacherMapper teacherMapper;
    @Override
    public Teacher[] selectAllTeacher() {
        return teacherMapper.selectAllTeacher();
    }
}
